package ncme.auto.framework.core.services;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface AspectPermissionService {

    Integer getUserIdFromRequest(HttpServletRequest request);

    String getUserNameFromRequest(HttpServletRequest request);

    List<Integer> getUserPerms(Integer userId, Integer permissionCode);

}
